package com.skydonkey.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.util.Date;

public class VideoComment {
    private Long commentId;
    private Long videoId;
    private Long uid;
    private String content;



    @JsonFormat(
            shape=JsonFormat.Shape.STRING,
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8")
    private Timestamp createTime;
    private int secCommentCount;

    public Long getCommentId() {
        return commentId;
    }

    public VideoComment setCommentId(Long commentId) {
        this.commentId = commentId;
        return this;
    }

    public Long getVideoId() {
        return videoId;
    }

    public VideoComment setVideoId(Long videoId) {
        this.videoId = videoId;
        return this;
    }

    public Long getUid() {
        return uid;
    }

    public VideoComment setUid(Long uid) {
        this.uid = uid;
        return this;
    }

    public String getContent() {
        return content;
    }

    public VideoComment setContent(String content) {
        this.content = content;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public VideoComment setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
        return this;
    }

    public int getSecCommentCount() {
        return secCommentCount;
    }

    public VideoComment setSecCommentCount(int secCommentCount) {
        this.secCommentCount = secCommentCount;
        return this;
    }


    @Override
    public String toString() {
        return "VideoComment{" +
                "commentId=" + commentId +
                ", videoId=" + videoId +
                ", uid=" + uid +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", secCommentCount=" + secCommentCount +
                '}';
    }
}
